package com.vhuan.self_discipline_service.domain.battery.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "BatteryDTO", description = "电池信息传输对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BatteryDTO {

    @Schema(description = "电池id")
    private Long id;
    @Schema(description = "电池名称")
    private String title;
    @Schema(description = "电池容量")
    private int maxCapacity;
    @Schema(description = "重置周期")
    private String resetPeriod;
    @Schema(description = "电池用户id")
    private Long userId;
    @Schema(description = "电池当前容量")
    private int capacity;
}
